﻿using System;

namespace QA
{
    delegate void MyDelegate();
    class Program
    {
        static void Main(string[] args)
        {
            var obj = new MyClass();

            var del1 = new MyDelegate(obj.F);
            MyDelegate del2 = obj.F;
        }

        
    }

    class MyClass
    {
        public void F()
        {

        }
    }
}
